libmyfile.a:add.o mul.o
	ar -rc $@ $^
add.o:add.c
	gcc -c add.c -o add.o
mul.o:mul.c
	gcc -c mul.c -o mul.o

.PHONY:myfile 
myfile:
	mkdir -p myfile/lib 
	mkdir -p myfile/include
	cp -rf *.h ./myfile/include 
	cp -rf *.a ./myfile/lib 

.PHONY:clean
clean:
	rm -rf *.o libmyfile.a myfile

